/*
#include <Wire.h>

#include "font.h"


void LCD_Send(byte b)
{
  Wire.beginTransmission( 0x50 ); // transmit to device #4
  Wire.send( b );       // send byte
  Wire.endTransmission();    // stop transmitting
}

void LCD_SendString( char *s )
{
  //Wire.beginTransmission( 0x50 ); // transmit to device #4
  for(;*s!=0;s++)
  {
    LCD_SendData(*s);
  }
    //Wire.endTransmission();    // stop transmitting
}


void LCD_SendE( byte b )
{
  LCD_Send( b );
  LCD_Send( b | LCD_E );
  LCD_Send( b );
}

void LCD_SendData( byte b )
{
  byte bl = ( b >> 4 ) | LCD_RS;
  byte bh = ( b & 0xf ) | LCD_RS;
  Wire.beginTransmission( 0x50 ); // transmit to device #4
  Wire.send( bl );       // send byte
  Wire.send( bl | LCD_E );       // send byte
  Wire.send( bh );       // send byte
  Wire.send( bh | LCD_E );       // send byte
  Wire.send( bh );       // send byte
  Wire.endTransmission();    // stop transmitting

}

void LCD_SendCtrl( byte b )
{
  byte bl = ( b >> 4 );
  byte bh = ( b & 0xf );
  Wire.beginTransmission( 0x50 ); // transmit to device #4
  Wire.send( bl );       // send byte
  Wire.send( bl | LCD_E );       // send byte
  Wire.send( bh );       // send byte
  Wire.send( bh | LCD_E );       // send byte
  Wire.send( bh );       // send byte
  Wire.endTransmission();    // stop transmitting
}


void LCD_Init()
{
  LCD_SendE( 0x03 );
  delay(50);
  LCD_SendE( 0x03 );
  delay(50);
  LCD_SendE( 0x03 );
  delay(50);

  LCD_SendE( 0x02 );  //4bit iface

  LCD_SendCtrl( 0b00101000 );

  LCD_SendCtrl( 0b00001000 );

  LCD_SendCtrl( 0b00001110 );

  LCD_SendCtrl( 0b00000110 );

  LCD_SendCtrl( 0b00000001 ); //lcs
  LCD_SendCtrl( 0b00000010 ); //home
  
  
  delay(50);
}
*/
